package com.casstime.ec.cloud.values.amountPromotion;

import java.util.List;

import com.casstime.ec.cloud.values.Value;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import lombok.Getter;
import lombok.Setter;
/**
 * ClassName: AmountPromotionConfig 
 * Function: (满减活动配置实体类)
 * Reason: ADD REASON(可选).
 *  
 * @author wu.chen 
 * 2018年2月28日 下午1:46:19
 * @version   
 * @since JDK 1.8
 */
@JsonIgnoreProperties(ignoreUnknown = true)//忽略类中不存在的字段，比如json字符串中有个aaa:123,则不会进行转换
@JsonInclude(value = Include.NON_NULL)
public class AmountPromotionConfig implements Value {
	
	@Getter @Setter private String id;
	@Getter @Setter private String promotionId;
	@Getter @Setter private String configType;
	@Getter @Setter private String configValue;
	
	@Getter @Setter private List<AmountPromotionConfigArea> areas;
	@Getter @Setter private List<AmountPromotionConfigBrand> brands;
	@Getter @Setter private List<AmountPromotionConfigCategory> categorys;
	@Override
	public boolean validate() {
		// TODO Auto-generated method stub
		return false;
	}
}
